package service;

import com.github.pagehelper.PageInfo;
import entity.Customer;
import entity.LayRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    boolean insert(Customer customer);
    Customer selectById(Integer id);
    PageInfo<Customer> selectByPage(LayRequest layRequest);
    boolean update(Customer customer);
    boolean batchDelete(Integer[] ids);

    List<Customer> selectAll();
}
